package com.app.service;

import com.app.model.TbcConfigModel;
import com.app.vo.EducationVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface TbcConfigService extends IService<TbcConfigModel> {
    //获取所有民族
    List<TbcConfigModel> getNationList();
    //获取学历列表
    List<EducationVo> getEducationList();

    //新闻分类
    Page<TbcConfigModel> findByNewsTypePage(String comName, Integer page, Integer limit);

    List<TbcConfigModel> getGroupListByType(Integer type, Integer fatherId);

    TbcConfigModel getModelById(Integer id);


}
